package com.cskaoyan.mall.model.vo;

import java.sql.Date;

public class OrderByStateVO {
    private Integer id;
    private Integer state;
    private Integer goodsNum;
    private Double amount;
    private Integer goodsDetailId;
    private Date createtime;
    private Boolean hasComment;
    private OrderGoods goods = new OrderGoods();

    public void  setStateId(Integer stateId){
        this.state = stateId;
    }
    public void setNum(Integer num){
        this.goodsNum = num;
    }

    public void setGoodsId(Integer goodsId){
        this.goods.setId(goodsId);
    }

    public void setImg(String img){
        this.goods.setImg(img);
    }

    public void setGoodsName(String goodsName){
        this.goods.setName(goodsName);
    }

    public void setSpec(String spec){
        this.goods.setSpec(spec);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getGoodsDetailId() {
        return goodsDetailId;
    }

    public void setGoodsDetailId(Integer goodsDetailId) {
        this.goodsDetailId = goodsDetailId;
        this.goods.setGoodsDetailId(goodsDetailId);
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Boolean getHasComment() {
        return hasComment;
    }

    public void setHasComment(Boolean hasComment) {
        this.hasComment = hasComment;
    }

    public OrderGoods getGoods() {
        return goods;
    }

    public void setGoods(OrderGoods goods) {
        this.goods = goods;
    }
}
